package com.bckj.fastboot.iot.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bckj.fastboot.core.lang.model.PageResult;
import com.bckj.fastboot.iot.common.dto.query.IotAlarmRuleQuery;
import com.bckj.fastboot.iot.common.dto.response.IotAlarmRuleResponse;
import com.bckj.fastboot.iot.common.entity.IotAlarmRule;

import java.util.List;

/**
 * IotAlarmRuleQueryService
 *
 * @author wfc
 * @date 2025/9/28 09:58
 **/
public interface IotAlarmRuleQueryService {

    IotAlarmRuleResponse details(Long id);

    List<IotAlarmRuleResponse> findList(IotAlarmRuleQuery query);

    PageResult<IotAlarmRuleResponse> page(IPage<IotAlarmRuleResponse> page, IotAlarmRuleQuery query);

    List<IotAlarmRule> findRules(String protocolCode, String cmd);

}
